<%@ include file="/Pages/Jsp/Common/header.jsp"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %> 
<script language="javascript" type="text/javascript" src="<%=request.getContextPath()%>/Pages/Js/groupJS.js"></script>
<title>
Group-EKMS
</title>
<div style="width:960px; margin-left:auto;margin-right:auto;">
	<form name="frmCreateGroup" action="<%=request.getContextPath()%>/user/createGroup.do?action=create" method="post">
	<div id="NoticeField" class="span-10 last append-14">	
		<logic:present name="Success">
			<div class="notice">
				<b>${Success}</b>
			</div>
		</logic:present>
		<logic:present name="Failed">
			<div class="error  span-12" style="margin-left:18px;">
				<b>${Failed}</b>
			</div>
		</logic:present>
	</div>
      <fieldset>
		<legend>
		  Create Group
		</legend>	
		<p>
			<label class="span-4"><span class="errtxt">*</span>Group Name:</label>
			<input id="GroupName" name="groupname" Required="True" 
			class="span-4" type="text" maxlength="20">
		</p>
		<p>
	         <label class="span-4"><span class="errtxt">*</span>Active:</label>
	         <select id="hiddenGroupStatus"  class="span-4" name="active">
					<option value="0">Yes</option>
					<option value="1">No</option>
    		</select>
	    </p>
	   	<p>
	         <label class="span-4"> Description:</label>
	         <textarea class="span-7" name="description" style="height:100px;" 
	          onkeydown="check(this,100)"></textarea>
	    </p>
	    <hr class="space"></hr>
	    <div class = "">
            <input value="Create" type="submit" >&nbsp;
            <input value="Reset" type="reset">&nbsp;
            <input value="Back" type="button" onclick="window.location.href='<%=request.getContextPath()%>/Pages/Jsp/User/userMenu.jsp'">
          <br></div> 
       	<div class="requiredNotice notice span-10" style="display:none">
       	</div>
       	<div style="height:20px;"></div>    
       	</fieldset>
     </form>
    </div>
